// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project. Project-level
// suppressions either have no target or are given a specific target
// and scoped to a namespace, type, member, etc.
//
// To add a suppression to this file, right-click the message in the
// Error List, point to "Suppress Message(s)", and click "In Project
// Suppression File". You do not need to add suppressions to this
// file manually.

[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA2210:AssembliesShouldHaveValidStrongNames")]

// MAPI is a valid name
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "MAPI", Scope = "type", Target = "Microsoft.EnhancedReminders.OutlookAddIn.IMAPIFolder")]

// This is in auto-generated code.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.AddEditNotificationRuleDialog.#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.StatusControl.#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.ChannelControl.#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1805:DoNotInitializeUnnecessarily", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.EnhancedRemindersRibbon.#.ctor()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.NotificationRulesViewer.#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.AddEditChannelDialog.#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.CalendarActionsControl.#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.ReadOnlyChannelControlWindow.#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.DialogLauncherWindow.#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.AddEditNotificationRuleDialog.#System.Windows.Markup.IComponentConnector.Connect(System.Int32,System.Object)")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1020:AvoidNamespacesWithFewTypes", Scope = "namespace", Target = "XamlGeneratedNamespace")]

// Not appropriate to use a property because this method creates the storage item if it doesn't already exist.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.IOutlookApplication.#GetStorageItem()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.IOutlookApplication.#GetDefaultChannelsStorageItem()")]

// This is not part of a public API and will always be run with full trust.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.OutlookApplication.#GetDefaultChannelsStorageItem()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.OutlookUtils.#GetCommunicatorSignIn()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.OutlookApplication.#GetStorageItem()")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2122:DoNotIndirectlyExposeMethodsWithLinkDemands", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.ReminderOutlookUtils.#LoadChannels(Microsoft.EnhancedReminders.OutlookAddIn.IOutlookApplication)")]

// Window is referenced in the xaml markup.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.AddEditChannelDialog.#Window")]

// Contoso is the correct spelling for this example company.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1703:ResourceStringsShouldBeSpelledCorrectly", MessageId = "contoso", Scope = "resource", Target = "Microsoft.EnhancedReminders.Properties.Resources.resources")]

// The class does not need finalizing.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1816:CallGCSuppressFinalizeCorrectly", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.OutlookReminderInspector.#Dispose()")]

// EditCommandCanExecute() needs to be protected so ReadOnlyChannelControl can override it.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2109:ReviewVisibleEventHandlers", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.ChannelControl.#EditCommandCanExecute(System.Object,System.Windows.Input.CanExecuteRoutedEventArgs)")]

// The properties will not overflow because we handle value == 0 separately.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2233:OperationsShouldNotOverflow", MessageId = "value-1", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.CalendarActionsControl.#AbsoluteTimeIndex")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2233:OperationsShouldNotOverflow", MessageId = "value-1", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.CalendarActionsControl.#LeadTimeIndex")]

// "Finish" button is accessed by unit tests. 
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.AddEditNotificationRuleDialog.#finishButton")]

// Forced garbage collection is needed here to fix an issue with releasing the appointment item and re-opening a meeting.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Reliability", "CA2001:AvoidCallingProblematicMethods", MessageId = "System.GC.Collect", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.OutlookReminderInspector.#OutlookWindow_Closed()")]

// Following Xaml UI elements are named to allow unit tests to conveniently reference them.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.NotificationRulesViewer.#deleteButton")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.NotificationRulesViewer.#downButton")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.NotificationRulesViewer.#editButton")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.NotificationRulesViewer.#okButton")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.NotificationRulesViewer.#upButton")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.NotificationRulesViewer.#cancelButton")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.ChannelControl.#upButton")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields", Scope = "member", Target = "Microsoft.EnhancedReminders.OutlookAddIn.ChannelControl.#downButton")]
